<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" />
    <title>查询用户</title>
</head>

<body>
    <div style="margin-top: 120px; text-align: center;">
        <form method="post" th:action="@{/getUser}">
            ID: <input type="text" id="userId" th:name="userId" /> <input type="submit" value="查询" />
        </form>
    </div>
</body>

</html>